// 基于template/src/widgets/{{appEntities}}/{{ctrls@FORM}}-form/{{spinalCase ctrl.codeName}}-form-vo.ts.hbs生成
import { ControlVOBase } from '@/core';
import { transformValue } from '@/utils';
import { model } from './guide-view-form-form-model';

export class Wizardpanel_form_firstformControlVO extends ControlVOBase {
    constructor(data: any) {
        //  表单预置字段
        data.srfwfmemo = data['srfwfmemo'] ? data['srfwfmemo'] : '';
        data.srffrontuf = data['srffrontuf'] ? data['srffrontuf'] : '';
        super(data);
        //  表单自持属性
        this.$ownKeys = ['srfupdatedate', 'srforikey', 'srfkey', 'srfmajortext', 'srftempmode', 'srfuf', 'srfdeid', 'srfsourcekey', 'ibizbookname', 'author', 'booknumber', 'press', 'price', 'stepstatus', 'ibizbookid'];
    }
    get srfupdatedate() {
        return this.$DO.updatedate;
    }
    set srfupdatedate(value: any) {
        this.$DO.updatedate = value;
    }
    get srfkey() {
        return this.$DO.ibizbookid;
    }
    set srfkey(value: any) {
        this.$DO.ibizbookid = value;
    }
    get srfmajortext() {
        return this.$DO.ibizbookname;
    }
    set srfmajortext(value: any) {
        this.$DO.ibizbookname = value;
    }
    get ibizbookname() {
        return this.$DO.ibizbookname;
    }
    set ibizbookname(value: any) {
        this.$DO.ibizbookname = value;
    }
    get author() {
        return this.$DO.author;
    }
    set author(value: any) {
        this.$DO.author = value;
    }
    get booknumber() {
        return this.$DO.booknumber;
    }
    set booknumber(value: any) {
        this.$DO.booknumber = value;
    }
    get press() {
        return this.$DO.press;
    }
    set press(value: any) {
        this.$DO.press = value;
    }
    get price() {
        return this.$DO.price;
    }
    set price(value: any) {
        this.$DO.price = value;
    }
    get stepstatus() {
        return this.$DO.stepstatus;
    }
    set stepstatus(value: any) {
        this.$DO.stepstatus = value;
    }
    get ibizbookid() {
        return this.$DO.ibizbookid;
    }
    set ibizbookid(value: any) {
        this.$DO.ibizbookid = value;
    }
    // 界面主键标识
    get ibizbook() {
        return this.$DO.ibizbookid;
    }

    set ibizbook(value: any) {
        this.$DO.ibizbookid = value;
    }

    //  工作流预置字段
    srfwfmemo: any;
    srffrontuf: any;

    //  无实体属性表单项
    get srftempmode() {
        return this.$DO.srftempmode;
    }

    set srftempmode(value: any) {
        this.$DO.srftempmode = value;
    }

    //  表单重复器

    /**
     * 返回后台数据
     *
     * @return {*} 
     * @memberof Wizardpanel_form_firstformControlVO
     */
	public getDo() {
        return {
            srffrontuf: this.srffrontuf,
            ibizbookname: this.$DO.ibizbookname,
author: this.$DO.author,
booknumber: this.$DO.booknumber,
press: this.$DO.press,
price: this.$DO.price,
stepstatus: this.$DO.stepstatus,
ibizbookid: this.$DO.ibizbookid,
updatedate: this.$DO.updatedate,
        }
	}

}